<?php

namespace App\Http\Controllers;

use App\Article;
use App\Http\Requests\ArticlePost;
use Illuminate\Http\Request;

class ArticleController extends ControllerNeedLogin
{
    public function create(Request $request)
    {
        return view('article/create',[
            'model'=>new ArticlePost()
        ]);
    }

    public function newArticle(ArticlePost $request)
    {

    }

    public function show(Request $request){

    }
}
